package cn.fl.custpay.service;

import java.util.List;
import cmm.mid.core.framework.page.Pager;
import cn.cmm.base.framework.exception.BaseException;
import cn.fl.custpay.vo.CmmIntelChdOrderVO;

/**
 * TODO 智能收款子订单记录表 客户端服务层接口
 * TODO 持久层方法名称前缀：新增：insert* 删除：delete* 修改：update* 批量：batch* 查询对象：select* get* find* 查询集合：select*
 * TODO 业务层方法名称前缀：新增：add* 删除：remove* 修改：modify* 查询对象：select* get* 批量：batch* 查询集合：search*
 * @package: cn.fl.web.custpay.service
 * @className: ICmmIntelChdOrderService
 * @author: shijibin@lionbridgecapital.cn
 * @createDate: 2019/3/19 14:46
 * @version: V1.0.0
 * @copyright: (c) 2019
 * @updateRemark: [序号][YYYY-MM-DD] [更改人姓名][变更描述]
 */
public interface ICmmIntelChdOrderService {

	/**
	 * TODO 获取唯一对象
	 * @methodName selectById
	 * @author: shijibin@lionbridgecapital.cn
	 * @createDate: 2019/3/19 14:49
	 * @version: 1.0.0
	 * @param id 主键
	 * @return 对象DTO
	 * @updateRemark [序号][YYYY-MM-DD] [更改人姓名][变更描述]
	 */
	public CmmIntelChdOrderVO selectById(Long id)throws BaseException;
	
	/**
	 * TODO 新增
	 * @methodName add
	 * @author: shijibin@lionbridgecapital.cn
	 * @createDate: 2019/3/19 14:50
	 * @version: 1.0.0
	 * @param entity
	 * @return java.lang.Long
	 * @updateRemark [序号][YYYY-MM-DD] [更改人姓名][变更描述]
	 */
    public Long add(CmmIntelChdOrderVO entity) throws BaseException;

    /**
     * TODO 删除
     * @methodName removeById
     * @author: shijibin@lionbridgecapital.cn
     * @createDate: 2019/3/19 14:51
     * @version: 1.0.0
     * @param id
     * @return boolean
     * @updateRemark [序号][YYYY-MM-DD] [更改人姓名][变更描述]
     */
    public boolean removeById(Long id)throws BaseException;
    
    /**
     * TODO 批量删除
     * @methodName removeByIds
     * @author: shijibin@lionbridgecapital.cn
     * @createDate: 2019/3/19 14:51
     * @version: 1.0.0
     * @param ids
     * @return boolean
     * @updateRemark [序号][YYYY-MM-DD] [更改人姓名][变更描述]
     */
    public boolean removeByIds(List<Long> ids)throws BaseException;

    /**
     * TODO 修改
     * @methodName modify
     * @author: shijibin@lionbridgecapital.cn
     * @createDate: 2019/3/19 14:52
     * @version: 1.0.0
     * @param entity
     * @return boolean
     * @updateRemark [序号][YYYY-MM-DD] [更改人姓名][变更描述]
     */
    public boolean modify(CmmIntelChdOrderVO entity)throws BaseException;

    /**
     * TODO 分页查询所有
     * @methodName searchListPage
     * @author: shijibin@lionbridgecapital.cn
     * @createDate: 2019/3/19 14:52
     * @version: 1.0.0
     * @param page
     * @return cmm.mid.core.framework.page.Pager
     * @updateRemark [序号][YYYY-MM-DD] [更改人姓名][变更描述]
     */
    public Pager searchListPage(Pager page)throws BaseException;
    
}
